package algutil.partagemusic.appli;

import java.io.IOException;

import org.apache.log4j.Logger;

import algutil.partagemusic.option.Options;
import algutil.partagemusic.services.PartageMusicServices;

public class GenererToGetFile {

	private final static Logger log = Logger.getLogger(GenererToGetFile.class);

	public static void main(String[] args) throws IOException {

		Options.configLog4j();
		
		log.info("#### GENERATION TOGET FILE ####################");
		
		log
				.info("## Generation d'un toGet file avec tout le contenu de mon repertoire OUT");
		PartageMusicServices pms = new PartageMusicServices();
		pms.genererToGetFile(Options.getInstance().getMyOutDirectory(), Options
				.getInstance().getToShareFor());
	}
}
